<tpl> include file='sys_config.head.html' </tpl>
<div id="doc3">
	<div id="yui-main">
		<div class="yui-g">
 			<div id="divinbox">
				<div class="gtlbar">
					<div class="gtlbar-left">
						<tpl> if $type eq 1 </tpl>
							客户管理 &gt;&gt; 新增客户
						<tpl> elseif $type eq 2 </tpl>
							媒体管理 &gt;&gt; 新增媒体
						<tpl> elseif $type eq 3 </tpl>
							供应商管理 &gt;&gt; 新增供应商
						<tpl> /if </tpl>
					</div>
				</div>
				<div class="ctge">
					<div class="ctge-1">
						<form action="company.manage.php?action=save" method="post" id="form1" name="form1" >
						<input type="hidden" name="t" value="<tpl> $type </tpl>">
						<div class="ctge-1-1">
						<table cellSpacing="0" cellPadding="0" class="fct" border="0">
							<tr>
								<th>名称</th>
								<td><input class="fct-input" name="realname" id="realname" type="text" maxlength="80"/></td>

                                <th>行业</th>
                                <td><input class="fct-input" name="industry" id="industry" type="text" maxlength="80"/></td>
                            </tr>
                            <tr>
								<th>网址</th>
							    <td>
							        <input class="fct-input" name="website" id="website" type="text" />
							    </td>
                                <th>电话</th>
                                <td><input class="fct-input" name="phone" id="phone" type="text" maxlength="20"/></td>
                            </tr>
                            <tr>
							    <th>地址</th>
							    <td>
							        <input class="fct-input" name="address" id="address" type="text" />
							    </td>
							    <th>邮编</th>
                                <td>
                                   <input class="fct-input" name="post" id="post" type="text" maxlength="6" />
                                </td>
                            </tr>
                            <tr>
                            	<tpl> if $type eq 2 </tpl>
                            	<th>性质</th>
                                <td><select name="kind" id="kind">
                                	<option value="1">互联网</option>
                                	<option value="2">平面</option>
                                	<option value="3">电视</option>
                                	<option value="4">其他</option>
                                </select></td>
							    <th>介绍</th>
							    <td>
							        <textarea name="intro" id="intro" style="width:300px; height:80px;"></textarea>
							    </td>
                            	<tpl> else </tpl>
                            	<th>介绍</th>
							    <td>
							        <textarea name="intro" id="intro" style="width:300px; height:80px;"></textarea>
							    </td>
							    <td></td>
							    <td></td>
                            	<tpl> /if </tpl>
                            </tr>
                            				 
						</table>
						
						</div>
						<div class="bth-ct">
							<div class="bth-pl">
								<input class="bthl" value="提交" type="submit" />
								<input type="button" class="bthl" value="返回" onclick='history.back();'/>
							</div>
						</div>
					</form>
					</div>
				</div>	
			</div>
		</div>
	</div>
</div>
<tpl> include file='sys_config.js.html' </tpl>
<script>

</script>
</body>
</html>